package br.com.recipe.dao;

import java.util.List;
import java.util.Map;

import br.com.recipe.exception.RecipeException;

public interface DAO {
	public void save(Object o) throws RecipeException;    
    public void delete(Object o) throws RecipeException;
    public Object getById(Class<?> c, Integer id) throws RecipeException;
    public List<?> execQuery(String hql) throws RecipeException;  
    public List<?> execQuery(String hql, Map<?,?> params) throws RecipeException;
}
